\hypertarget{class_q_qt_long_click_helper}{}\section{Q\+Qt\+Long\+Click\+Helper Class Reference}
\label{class_q_qt_long_click_helper}\index{Q\+Qt\+Long\+Click\+Helper@{Q\+Qt\+Long\+Click\+Helper}}


{\ttfamily \#include $<$qqtlongclickhelper.\+h$>$}

Inheritance diagram for Q\+Qt\+Long\+Click\+Helper\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=6.000000cm]{class_q_qt_long_click_helper}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a69ea400df720f9e6f88f4966bd2a3d5a}\label{class_q_qt_long_click_helper_a69ea400df720f9e6f88f4966bd2a3d5a}} 
void {\bfseries click} ()
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_ada7e782fbdf9532c81262a21bf2b59a4}\label{class_q_qt_long_click_helper_ada7e782fbdf9532c81262a21bf2b59a4}} 
void {\bfseries long\+Click} ()
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a66f0e1a12b8507fd540128722c10d31f}\label{class_q_qt_long_click_helper_a66f0e1a12b8507fd540128722c10d31f}} 
void {\bfseries click\+With\+Point} (Q\+Point point)
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a97a0166ddb6b9e8e1991b4da6e00c7c7}\label{class_q_qt_long_click_helper_a97a0166ddb6b9e8e1991b4da6e00c7c7}} 
void {\bfseries long\+Click\+With\+Point} (Q\+Point point)
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a213f7f6be32c38b0ec13a08d0d3fc509}\label{class_q_qt_long_click_helper_a213f7f6be32c38b0ec13a08d0d3fc509}} 
void {\bfseries click\+With\+PointF} (Q\+PointF point)
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_ae15a68619cf26e0ac5087cfeaa8733a4}\label{class_q_qt_long_click_helper_ae15a68619cf26e0ac5087cfeaa8733a4}} 
void {\bfseries long\+Click\+With\+PointF} (Q\+PointF point)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a66b65c1a0e470ca7849f98b37b6dff5f}\label{class_q_qt_long_click_helper_a66b65c1a0e470ca7849f98b37b6dff5f}} 
{\bfseries Q\+Qt\+Long\+Click\+Helper} (Q\+Object $\ast$parent=0)
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_ac7b35933971454a5544d1bdaacc788f7}\label{class_q_qt_long_click_helper_ac7b35933971454a5544d1bdaacc788f7}} 
virtual void {\bfseries mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$event, Q\+Widget $\ast$user\+Widget=0) override
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a47ed080d282addb183847919bcb0ff88}\label{class_q_qt_long_click_helper_a47ed080d282addb183847919bcb0ff88}} 
virtual void {\bfseries mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$event, Q\+Widget $\ast$user\+Widget=0) override
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a2fa0272b307ab6bee2a4dcdd3a1d662b}\label{class_q_qt_long_click_helper_a2fa0272b307ab6bee2a4dcdd3a1d662b}} 
virtual void {\bfseries mouse\+Double\+Click\+Event} (Q\+Mouse\+Event $\ast$event, Q\+Widget $\ast$user\+Widget=0) override
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a0e9a46cd30c908bc8b714bbe971c9f3b}\label{class_q_qt_long_click_helper_a0e9a46cd30c908bc8b714bbe971c9f3b}} 
void {\bfseries set\+Long\+Click\+Interval} (int mill\+Second=\mbox{\hyperlink{class_q_qt_long_click_helper_aae392691a102b1b7de765494bc5e6946}{long\+Click\+Interval}})
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_af07e17f4ff7f1e6b2b92f5ced8d22724}\label{class_q_qt_long_click_helper_af07e17f4ff7f1e6b2b92f5ced8d22724}} 
int {\bfseries get\+Long\+Click\+Interval} () const
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a9d663b1086991764a366bb3e682b884f}\label{class_q_qt_long_click_helper_a9d663b1086991764a366bb3e682b884f}} 
const quint32 {\bfseries long\+Click\+Num} () const
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a224ac2a2883dc127dc2d1a577aa2cc70}\label{class_q_qt_long_click_helper_a224ac2a2883dc127dc2d1a577aa2cc70}} 
const quint32 {\bfseries long\+Click\+Num\+With\+Cancel} () const
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a49e0ebcf8d3dc878be0930ad765cc652}\label{class_q_qt_long_click_helper_a49e0ebcf8d3dc878be0930ad765cc652}} 
virtual void {\bfseries check\+Click\+Num} (\mbox{\hyperlink{class_q_qt_virtual_click_helper_ace6c0c9b072e51f2cb3ff1316404b764}{Q\+Qt\+Click\+Type}} type) override
\item 
virtual void \mbox{\hyperlink{class_q_qt_long_click_helper_a9cc68a8b81d6ffe142509cdb31db78b1}{check\+Click\+Num\+With\+Cancel}} () override
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_ad9a0a112d65888e6724b4cfa006f61f5}\label{class_q_qt_long_click_helper_ad9a0a112d65888e6724b4cfa006f61f5}} 
int {\bfseries m\+Long\+Click\+Interval}
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a507dd42799a8c7ba2a840ffa9e2dbd44}\label{class_q_qt_long_click_helper_a507dd42799a8c7ba2a840ffa9e2dbd44}} 
Q\+Time {\bfseries now\+\_\+press}
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_af8ba8a4ce62242ef90eff745731c7101}\label{class_q_qt_long_click_helper_af8ba8a4ce62242ef90eff745731c7101}} 
Q\+Time {\bfseries now\+\_\+release}
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_ad0eb27eb44337df4deb7fee439e04d1a}\label{class_q_qt_long_click_helper_ad0eb27eb44337df4deb7fee439e04d1a}} 
quint32 {\bfseries n\+Long\+Click\+Num}
\item 
\mbox{\Hypertarget{class_q_qt_long_click_helper_a2d18b5633d517358a0a31f2fefb2bfda}\label{class_q_qt_long_click_helper_a2d18b5633d517358a0a31f2fefb2bfda}} 
quint32 {\bfseries n\+Long\+Click\+Num\+With\+Cancel}
\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static const int \mbox{\hyperlink{class_q_qt_long_click_helper_aae392691a102b1b7de765494bc5e6946}{long\+Click\+Interval}} = 1200
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\mbox{\hyperlink{class_q_qt_long_click_helper}{Q\+Qt\+Long\+Click\+Helper}} 这个\+Helper是给\+Widget响应按钮事件用的 主要用于为\+Q\+Qt\+Widget系列添加按钮信号识别帮助

支持 click long\+Click 不支持\+Double\+Click

可以统计按键次数 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_qt_long_click_helper_a9cc68a8b81d6ffe142509cdb31db78b1}\label{class_q_qt_long_click_helper_a9cc68a8b81d6ffe142509cdb31db78b1}} 
\index{Q\+Qt\+Long\+Click\+Helper@{Q\+Qt\+Long\+Click\+Helper}!check\+Click\+Num\+With\+Cancel@{check\+Click\+Num\+With\+Cancel}}
\index{check\+Click\+Num\+With\+Cancel@{check\+Click\+Num\+With\+Cancel}!Q\+Qt\+Long\+Click\+Helper@{Q\+Qt\+Long\+Click\+Helper}}
\subsubsection{\texorpdfstring{check\+Click\+Num\+With\+Cancel()}{checkClickNumWithCancel()}}
{\footnotesize\ttfamily void Q\+Qt\+Long\+Click\+Helper\+::check\+Click\+Num\+With\+Cancel (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}

以下用于内部 

Reimplemented from \mbox{\hyperlink{class_q_qt_click_helper_ac66c7a5eccddec8d34fc74afd6a266f7}{Q\+Qt\+Click\+Helper}}.



Reimplemented in \mbox{\hyperlink{class_q_qt_double_click_helper_a42ab28dcfaf01d7e8bf8bb01bd5ca311}{Q\+Qt\+Double\+Click\+Helper}}.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_q_qt_long_click_helper_aae392691a102b1b7de765494bc5e6946}\label{class_q_qt_long_click_helper_aae392691a102b1b7de765494bc5e6946}} 
\index{Q\+Qt\+Long\+Click\+Helper@{Q\+Qt\+Long\+Click\+Helper}!long\+Click\+Interval@{long\+Click\+Interval}}
\index{long\+Click\+Interval@{long\+Click\+Interval}!Q\+Qt\+Long\+Click\+Helper@{Q\+Qt\+Long\+Click\+Helper}}
\subsubsection{\texorpdfstring{long\+Click\+Interval}{longClickInterval}}
{\footnotesize\ttfamily const int Q\+Qt\+Long\+Click\+Helper\+::long\+Click\+Interval = 1200\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [protected]}}

以下用于内部 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/clickwidgets/qqtlongclickhelper.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/exquisite/clickwidgets/qqtlongclickhelper.\+cpp\end{DoxyCompactItemize}
